<!DOCTYPE html>
<html lang="en">
	<head>
		<title> New Document </title>
		<meta charset="utf-8">
		<meta name="Author" content="">
		<meta name="Keywords" content="">
		<meta name="Description" content="">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<!-- Bootstrap -->
		<link href="${webRoot}resources/css/bootstrap.min.css" rel="stylesheet" media="screen">
		<link href="${webRoot}resources/css/style.css" rel="stylesheet">
		<script src="http://code.jquery.com/jquery-1.10.0.min.js"></script>
	</head>
<body class="main">
	<div style="text-align: right; cursor: default; height: 40px;">
	<span style="font-size: 16px;" onclick="CloseDiv('MyDiv','fade')">关闭</span>
	</div>
	<div class="wrap order-info">
		<table class="table table-bordered">
				<thead>
					<tr>
						<th>小分类名</th>
						<th>创建时间</th>
						<th>类别</th>
					</tr>
				</thead>
				<tbody>
				<#if listlabel?exists>
				<#list listlabel as labeEntity>
					<tr>
						<td>${labeEntity.label_name}</td>
						<td>${labeEntity.label_date?string("yyyy-MM-dd")}</td>
						<#if labeEntity.label_status == "E">
						<td>可用</td>
						<#else>
						<td>禁用</td>
						</#if>
					</tr>
				</#list>
				<#else>
				   	 <tr>
				       <td colspan="6">没有查询到记录！</td>
				   </tr>
				</#if>
				</tbody>
			</table>			
	</div>			
		<#if listlabel?exists>
		<div class="pagination pagination-right">
		  <input type="hidden" name="uplabelId" id="uplabelId" value="${uplabelId}"/>
		  <ul>
		    <#if pageEntity.page==1>
		    <li class="disabled"><a href="#">&laquo;</a></li>
		    <#else>
		    <li><a href="javascript:pageHref(${pageEntity.page-1},${pageEntity.totalPage},${pageEntity.pageSize})">&laquo;</a></li>
		    </#if>
		    <#list 1..pageEntity.totalPage as i>
		         <#if pageEntity.page==i>
		    <li class="active"><a href="#">${i}</a></li>
		         <#else>
		    <li><a href="javascript:pageHref(${i},${pageEntity.totalPage},${pageEntity.pageSize})">${i}</a></li>
		        </#if>
		    </#list>
		   <#if pageEntity.page==pageEntity.totalPage>
		    <li class="disabled"><a href="#">»</a></li>
		    <#else>
		    <li><a href="javascript:pageHref(${pageEntity.page+1},${pageEntity.totalPage},${pageEntity.pageSize})">»</a></li>
		    </#if>
		  </ul>
		</div>
		</#if>	
	<script src="${webRoot}resources/js/bootstrap.min.js"></script>
	<script src="${webRoot}resources/js/js.js"></script>
</body>
</html>

